#include <iostream>
#include "namespc.h"

int main()
{
    // pers::Person person;
    // pers::getPerson(person);
    // pers::showPerson(person);

    debts::Debt fristDebt;
    debts::getDebt(fristDebt);
    debts::showDebt(fristDebt);

    debts::Debt secondDebt;
    debts::getDebt(secondDebt);
    debts::showDebt(secondDebt);
    debts::Debt debtArr[2] = {fristDebt, secondDebt};
    double sumDebt = debts::totalDebt(debtArr, 2);

    using namespace std;
    cout << "sumDebt: " << sumDebt << endl;
    return 0;
}
